From: Jan D Date: Wed, 18 Aug 2010 08:06:45 +0000 (+0200) Subject: * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~6924 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=10910ff0c7fd7e945322b1ffc3049df4b7419ac8;p=emacs.git * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). --- diff --git a/src/ChangeLog b/src/ChangeLog index 94bbab81669..ae82e5f65bf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-08-18 Jan Djärv + + * nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868). + 2010-08-18 Jan Djärv * gtkutil.c (update_frame_tool_bar): Literal stings are const char*. diff --git a/src/nsterm.m b/src/nsterm.m index 88d47d41972..2eb84607562 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1792,6 +1792,9 @@ ns_define_frame_cursor (struct frame *f, Cursor cursor) EmacsView *view = FRAME_NS_VIEW (f); FRAME_POINTER_TYPE (f) = cursor; [[view window] invalidateCursorRectsForView: view]; + /* Redisplay assumes this function also draws the changed frame + cursor, but this function doesn't, so do it explicitly. */ + x_update_cursor (f, 1); } }